
#ifndef KEYBOARD_H
#define KEYBOARD_H

#include <BButton>

using namespace BWE;

class KeyBoard : public BWidget
{
	BOBJECT(KeyBoard)
public:
	KeyBoard(BWidget* parent = 0);
	~KeyBoard();

	bool initButtons(const BString& fileName);

private:
	virtual void updateEvent(const BEvent& event);
	virtual void resizeEvent(const BEvent& event);

	virtual void styleEvent(const BEvent& event);
	virtual void freshEvent(const BEvent& event);
	virtual void paintEvent(const BEvent& event);

private:
	bool		_dirty;
	BArray<BButtonHolder>	_buttons;
};

#endif
